<div class="pay-info">
  <h3>
    <span>薪资信息</span>
  </h3>
  <div class="pos-b">
    <div class="base-pay">
      <div class="p-slj">
        <span>基本工资:</span>
        <input id="basePay" type="text" placeholder="金额" onkeyup="intNum(this)" 
        value="<%= @basic_salary_amount %>">
        <em>元/月</em>
      </div>
    </div>
  </div>

  <!-- 导师 -->
  <div id="teacher_salaries" data_status="0" class="pos-p occ-t clearfix">
    <h4>导师</h4>
    <div class="p-box">
      <div class="m-sl">
        <span>课时费:</span>
        <input id="keshi_fee" type="text" placeholder="金额" onkeyup="intNum(this)">
        <em>元/人</em>
      </div>
      <div class="rad-sl clearfix">
        <%= hidden_field_tag 'ticheng_type' %>
        <div class="rad-box">
          <div class="p-sl">
            <input id="guding_radio" class="p-radio" type="radio" name="commission" value="固定提成" onkeyup="intNum(this)">
            <div class="ra-btn">
              <span></span>
            </div>
            <span>固定提成</span>
            <div id="guding_op" class="comm-con clearfix">
              <input id="guding_fee" type="text" placeholder="提成费用" onkeyup="intNum(this)">
              <em>元/人</em>
            </div>
          </div>
          <div class="p-sy clearfix">
            <input id="jieduan_radio" class="p-radio" type="radio" name="commission" value="阶段提成" onkeyup="intNum(this)">
            <div class="ra-btn">
              <span></span>
            </div>
            <span>阶段提成</span>
            <div id="jieduan_op" class="comm-con clearfix">

              <div id="jieduan_show_temp" style="display: none" class="comm-write">
                <!-- 阶段提成数据 -->
                <%= hidden_field_tag 'jieduan_info' %>
                <b class="start">13</b>
                <em>-</em>
                <b class="end">15</b>
                <em>人 阶段</em>
                <div class="cx">
                  <em>提成比例为</em>
                  <b class="scale">34</b>
                  <em>元/人</em>
                  <div class="comm-del">删除</div>
                </div>
              </div>

              <div id="jieduan_edit" class="comm-box">
                 <%= hidden_field_tag 'start',0 %>
                <div class="stage-box">
                  <span>0</span>
                </div>
                <em> 人- </em>
                <input id="jieduan_end" type="text" onkeyup="intNum(this)">
                <strong>人 阶段</strong>
                <div class="cx">
                  <em>提成比例为</em>
                  <input id="jieduan_scale" type="text" onkeyup="intNum(this)">
                  <strong>元/人</strong>
                  <div id="jieduan_add" class="comm-add">添加</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <div id="out_zhibiao_op" class="p-exc clearfix">
        <div class="p-exbox">
          <i>超出指标提成:</i>
          <div class="comm-con clearfix">

              <div id="temp" style="display: none" class="comm-write">
                <!-- 超出提成数据 -->
                <%= hidden_field_tag 'out_zhibiao_info' %>
                <b class="start">13</b>
                <em>-</em>
                <b class="end">15</b>
                <em>元 阶段</em>
                <div class="cx">
                  <em>提成比例为</em>
                  <b class="scale">34</b>
                  <em>%</em>
                  <div class="comm-del">删除</div>
                </div>
              </div>

              <div id="out_zhibiao_edit" class="comm-box">
                <%= hidden_field_tag 'start',0 %>
                <div class="stage-box">
                  <span>0</span>
                </div>
                <em> 元- </em>
                <input name="end" type="text" onkeyup="intNum(this)">
                <strong>元 阶段</strong>
                <div class="cx">
                  <em>提成比例为</em>
                  <input  name="scale" type="text" onkeyup="intNum(this)">
                  <strong>%</strong>
                  <div class="comm-add">添加</div>
                </div>
              </div>
          </div>
        </div>
      </div>
      <div class="p-sl">
        <span>私教提成:</span>
        <input id="personal" type="text" placeholder="提成比例" onkeyup="intNum(this)">
        <em>%</em>
      </div>
    </div>
  </div>

  <!-- 服务顾问 -->
  <div id="fuwuguwen_salaries"  data_status="0" class="pos-p occ-a clearfix">
    <h4>服务顾问</h4>
    <div class="p-box">
        <div id="out_zhibiao_op" class="p-exc clearfix">

          <div id="temp" style="display: none" class="comm-write">
            <!-- 超出提成数据 -->
            <%= hidden_field_tag 'out_zhibiao_info' %>
            <b class="start">13</b>
            <em>-</em>
            <b class="end">15</b>
            <em>元 阶段</em>
            <div class="cx">
              <em>提成比例为</em>
              <b class="scale">34</b>
              <em>%</em>
              <div class="comm-del">删除</div>
            </div>
          </div>

          <div id="out_zhibiao_edit" class="p-exbox">
            <i>超出指标提成:</i>
            <div class="comm-con clearfix">
                <div class="comm-box">
                  <%= hidden_field_tag 'start',0 %>
                  <div class="stage-box">
                    <span>0</span>
                  </div>
                  <em> - </em>
                  <input  name="end" type="text" onkeyup="intNum(this)">
                  <strong>元 阶段</strong>
                  <div class="cx">
                    <em>提成比例为</em>
                    <input  name="scale" type="text" onkeyup="intNum(this)">
                    <strong>%</strong>
                    <div class="comm-add">添加</div>
                  </div>
                </div>
            </div>
          </div>
        </div>
    </div>
  </div>
  <!-- 产品总监 -->
  <div id="chanpinzongjian_salaries" data_status="0" class="pos-p occ-c clearfix">
    <h4>产品总监</h4>
    <div class="p-box">
        <div id="out_zhibiao_op" class="p-exc clearfix">

          <div id="temp" style="display: none" class="comm-write">
            <!-- 超出提成数据 -->
            <%= hidden_field_tag 'out_zhibiao_info' %>
            <b class="start">13</b>
            <em>-</em>
            <b class="end">15</b>
            <em>元 阶段</em>
            <div class="cx">
              <em>提成比例为</em>
              <b class="scale">34</b>
              <em>%</em>
              <div class="comm-del">删除</div>
            </div>
          </div>

          <div id="out_zhibiao_edit" class="p-exbox">
            <i>团队超出指标提成:</i>
            <div class="comm-con clearfix">

                <div class="comm-box">
                  <%= hidden_field_tag 'start',0 %>
                  <div class="stage-box">
                    <span>0</span>
                  </div>
                  <em> - </em>
                  <input name="end" type="text" onkeyup="intNum(this)">
                  <strong>元 阶段</strong>
                  <div class="cx">
                    <em>提成比例为</em>
                    <input name="scale" type="text" onkeyup="intNum(this)">
                    <strong>%</strong>
                    <div class="comm-add">添加</div>
                  </div>
                </div>
            </div>
          </div>
        </div>
    </div>
  </div>


  <!-- 运营总监 -->
  <div id="yunyingzongjian_salaries" data_status="0" class="pos-p occ-c clearfix">
    <h4>运营总监</h4>
    <div class="p-box">
        <div id="out_zhibiao_op" class="p-exc clearfix">

          <div id="temp" style="display: none" class="comm-write">
            <!-- 超出提成数据 -->
            <%= hidden_field_tag 'out_zhibiao_info' %>
            <b class="start">13</b>
            <em>-</em>
            <b class="end">15</b>
            <em>元 阶段</em>
            <div class="cx">
              <em>提成比例为</em>
              <b class="scale">34</b>
              <em>%</em>
              <div class="comm-del">删除</div>
            </div>
          </div>

          <div id="out_zhibiao_edit" class="p-exbox">
            <i>团队超出指标提成:</i>
            <div class="comm-con clearfix">

                <div class="comm-box">
                  <%= hidden_field_tag 'start',0 %>
                  <div class="stage-box">
                    <span>0</span>
                  </div>
                  <em> - </em>
                  <input name="end" type="text" onkeyup="intNum(this)">
                  <strong>元 阶段</strong>
                  <div class="cx">
                    <em>提成比例为</em>
                    <input name="scale" type="text" onkeyup="intNum(this)">
                    <strong>%</strong>
                    <div class="comm-add">添加</div>
                  </div>
                </div>
            </div>
          </div>
        </div>
    </div>
  </div>


  <!-- 市场总监 -->
  <div id="shichangzongjian_salaries" data_status="0" class="pos-p occ-c clearfix">
    <h4>市场总监</h4>
    <div class="p-box">
        <div id="out_zhibiao_op" class="p-exc clearfix">

          <div id="temp" style="display: none" class="comm-write">
            <!-- 超出提成数据 -->
            <%= hidden_field_tag 'out_zhibiao_info' %>
            <b class="start">13</b>
            <em>-</em>
            <b class="end">15</b>
            <em>人 阶段</em>
            <div class="cx">
              <em>提成比例为</em>
              <b class="scale">34</b>
              <em>%</em>
              <div class="comm-del">删除</div>
            </div>
          </div>

          <div id="out_zhibiao_edit" class="p-exbox">
            <i>团队超出指标提成:</i>
            <div class="comm-con clearfix">

                <div class="comm-box">
                  <%= hidden_field_tag 'start',0 %>
                  <div class="stage-box">
                    <span>0</span>
                  </div>
                  <em> - </em>
                  <input name="end" type="text" onkeyup="intNum(this)">
                  <strong>人 阶段</strong>
                  <div class="cx">
                    <em>提成比例为</em>
                    <input name="scale" type="text" onkeyup="intNum(this)">
                    <strong>%</strong>
                    <div class="comm-add">添加</div>
                  </div>
                </div>
            </div>
          </div>
        </div>
    </div>
  </div>


  <!-- 市场专员 -->
  <div id="shichangzhuanyuan_salaries" data_status="0" class="pos-p occ-c clearfix">
    <h4>市场专员</h4>
    <div class="p-box">
        <div id="out_zhibiao_op" class="p-exc clearfix">

          <div id="temp" style="display: none" class="comm-write">
            <!-- 超出提成数据 -->
            <%= hidden_field_tag 'out_zhibiao_info' %>
            <b class="start">13</b>
            <em>-</em>
            <b class="end">15</b>
            <em>人 阶段</em>
            <div class="cx">
              <em>提成比例为</em>
              <b class="scale">34</b>
              <em>%</em>
              <div class="comm-del">删除</div>
            </div>
          </div>

          <div id="out_zhibiao_edit" class="p-exbox">
            <i>团队超出指标提成:</i>
            <div class="comm-con clearfix">

                <div class="comm-box">
                  <%= hidden_field_tag 'start',0 %>
                  <div class="stage-box">
                    <span>0</span>
                  </div>
                  <em> - </em>
                  <input name="end" type="text" onkeyup="intNum(this)">
                  <strong>人 阶段</strong>
                  <div class="cx">
                    <em>提成比例为</em>
                    <input name="scale" type="text" onkeyup="intNum(this)">
                    <strong>%</strong>
                    <div class="comm-add">添加</div>
                  </div>
                </div>
            </div>
          </div>
        </div>
    </div>
  </div>

  <% if @welfares.present? %>
    <div id="welfare_info" class="pos-b pos">
      <div class="welfare we-show clearfix">
        <div class="p-sub">
          <span class="sub-tit">福利补助:</span>
          <div class="wel-sub">
            <% @welfares.each do |welfare| %>
              <div class="sub-n clearfix" data_id="<%= welfare.id %>">
                <div class="sub-con">
                  <div class="test-check">
                    <input type="checkbox" class="ck">
                    <div class="check" _welfare_id="<%= welfare.id %>" _welfare_name="<%= welfare.welfare_name %>" >
                      <span></span>
                    </div>
                  </div>
                </div>
                <span><%= welfare.welfare_name %></span>
                <em><%= welfare.amount %>元/月</em>
              </div>
            <% end %>
          </div>
        </div>
      </div>
    </div>
  <% end %>
</div>     